package com.xframe.domain.sys;


import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.AutoFill;
import com.xframe.xdal.core.annotation.XColumn;
import com.xframe.xdal.core.annotation.XSelectItem;
import com.xframe.xdal.core.annotation.XTable;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;

/**
 * 模式模型存储库信息表
 *
 * @author xufeng
 * @version 1.0
 * @date 2023-03-28
 */
@Data
@XTable(value = "SYS_MODEL_SERIALIZE", label = "模型序列化信息表")
@XSelectItem(keyName = "serializeId",codeName = "className",textName = "className")
public class SysModelSer extends BaseModel {
    /**
     * 主键
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "SERIALIZE_ID", primaryKeyFlag = true,desc = "主键")
    private Long serializeId;

    /**
     * 模型ID
     */
    @XColumn(name = "MODEL_ID",uniqueFlag = true,desc = "模型ID")
    private Long modelId;


    /**
     * 存储库类名称
     */
    @XColumn(length = 200,desc = "存储库类名称",uniqueFlag = true)
    private String className;


    /**
     * 序列化执行时机
     */
    @XColumn(length = 20,desc = "序列化执行时机",uniqueFlag = true)
    private String cStr;


    /**
     * 附加参数
     */
    @XColumn(length = 500,desc = "附加参数",nullFlag = true)
    private String args;
}
